<?php
$this->breadcrumbs=array(
	'作者'=>array('index'),
	$user->username=>array('view', 'id'=>$user->id),
	'重设密码',
);

$this->menu=array(
	array('label'=>'作者列表', 'url'=>array('index')),
	array('label'=>'添加作者', 'url'=>array('create')),
	array('label'=>'更新信息', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'修改密码', 'url'=>array('changepwd', 'id'=>$model->id)),
	array('label'=>'删除作者', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'管理作者', 'url'=>array('admin')),
);
?>

<div class="form wide">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'user-form',
	'enableAjaxValidation'=>true,
)); ?>

<p>您正在执行重设密码的操作，请通过下面的表单重新设定您的密码：</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password_repeat'); ?>
		<?php echo $form->error($model,'password_repeat'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'password_repeat'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton('提交'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->